#ifndef VIDEORESPONSETOCLIENT_H
#define VIDEORESPONSETOCLIENT_H

#include "./entities/message/superClass/message.h"

class VideoResponseToClient : public Message
{
public:
    VideoResponseToClient() = delete;

    VideoResponseToClient(const UserId& requestUserId, const FriendId& responseUserId,
                          const Status& status, const Ip& responseUserIp);
    VideoResponseToClient(const QJsonObject&);
    QJsonObject PackJsonData() const override;
    UserId getRequestUserId() const;
    FriendId getResponseUserId() const;
    Status getStatus() const;
    Ip getResponseUserIp() const;

private:
    UserId m_requestUserId;
    FriendId m_responseUserId;
    Status m_status;
    Ip m_responseUserIp;
};

// 编译时注册
Q_DECLARE_METATYPE(VideoResponseToClient)

#endif // VIDEORESPONSETOCLIENT_H
